package com.example.springbolgdemo.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AddBlogRequest {
    @NotNull(message = "blogId不能为空")
    Integer userId;
    String title;
    String content;
}
